<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<head>
<title>资产管理 > 房屋土地管理</title>
<meta name="nav" content="1" />
<meta name="acc" content="_assets" />
<script>
		$(document).ready(function() {
		 $("#importdata").click(function(){
			 var url = "${ctx}/asset/assets/information_import.action";
			 openWindowAsDialog(url);
		 });
		});
</script>
</head>
<body>
<div id="heading" class="asset"><h6>房屋土地列表</h6></div>
<form id="mainForm" action="${ctx }/asset/assets/house.action" method="get" class="yform">
<div id="message"><s:actionmessage theme="custom" cssClass="success" /></div>
<div id="filter">
<ul>
<li>资产名称：<input type="text" name="filter_LIKES_name" value="${param['filter_LIKES_name']}" /></li>
<li>责任人：<input type="text" id="officer" name="filter_GED_officer" value="${param['filter_GED_officer']}"  /></li>
<li>状态：
<pt:code category="2019" name="filter_GED_asstState" default="${param['filter_GED_asstState']}"></pt:code></li>
</ul>
<div class="type-button"><input onclick="search()" type="button" value="查询" align="right" class='search'/></div>
</div>
<div id="content" >
<table id="contentTable"  class="datalist">
	<tr>
		<th><a id="createDate" href="javascript:sort('sindex','asc')">编号</a></th>
		<th><a id="code" href="javascript:sort('code','asc')">资产编号</a></th>
		<th><a id="name" href="javascript:sort('name','asc')">资产名称</a></th>
		<th><a id="asstState" href="javascript:sort('asstState','asc')">状态</a></th>
		<th><a id="officer" href="javascript:sort('officer','asc')">责任人</a></th>
		<th>操作</th>
	</tr>
	<c:forEach items="${page.result}" var="asset" >
		<tr>
			<td>${asset.sindex}</td>
			<td>${asset.code}</td>
			<td>${asset.name}</td>
			<td><pt:code category="2019" code="${asset.asstState}"> </pt:code> </td>
			<td>${asset.officer}</td>
			<td><a href="${ctx}/asset/assets/house!input.action?id=${asset.id}">编辑</a>
			<a href="${ctx}/asset/assets/house!delete.action?id=${asset.id}" onclick="return confirmDelete();">删除</a></td>
		</tr>
	</c:forEach>
</table>
</div>
<jsp:include page="/common/page.jsp" flush="true" />
<div class="type-button">
<input  type="button" class="add" onclick="location.href='${ctx}/asset/assets/house_input.action'"  value="新增" /> 
</div>
</form>
</body>
